package com.hoshiicloud.goods.param.category;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
* <p>
* 新增类目值类别参数
* </p>
*
* @author zhangshuhu
* @since 2019-06-04
*/

@Data
@ApiModel(value="新增类目值类别", description="新增类目值类别")
public class GoodsSpecificationsValuesTypeAddParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "分类名称")
    @NotBlank(message = "分类名称不能为空")
    private String name;

    @ApiModelProperty(value = "规格类型")
    @NotBlank(message = "规格类型不能为空")
    private String type;

    @ApiModelProperty(value = "租户Id",hidden = true)
    private Long companyId;

    @ApiModelProperty(value = "创建人",hidden = true)
    private String createdBy;
}
